﻿<UserControl x:Class="ForumsBrowser.MedalControl"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:fb="clr-namespace:ForumsBrowser" 
    x:Name="ctrl">
    <StackPanel x:Name="stackPanel" Orientation="Horizontal">
        <fb:Star Threshhold="1" 
                 Achieved="{Binding ElementName=ctrl, Path=Achieved}"
                 FillBrush="{Binding ElementName=ctrl, Path=FillBrush}"
                 Edge="{Binding ElementName=ctrl, Path=Edge}"
                 />
        <fb:Star Threshhold="2"
                 Achieved="{Binding ElementName=ctrl, Path=Achieved}"
                 FillBrush="{Binding ElementName=ctrl, Path=FillBrush}"
                 Edge="{Binding ElementName=ctrl, Path=Edge}"
                 />
        <fb:Star Threshhold="3" 
                 Achieved="{Binding ElementName=ctrl, Path=Achieved}"
                 FillBrush="{Binding ElementName=ctrl, Path=FillBrush}"
                 Edge="{Binding ElementName=ctrl, Path=Edge}"
                 />
        <fb:Star Threshhold="4" 
                 Achieved="{Binding ElementName=ctrl, Path=Achieved}"
                 FillBrush="{Binding ElementName=ctrl, Path=FillBrush}"
                 Edge="{Binding ElementName=ctrl, Path=Edge}"
                 />
        <fb:Star Threshhold="5"
                 Achieved="{Binding ElementName=ctrl, Path=Achieved}"
                 FillBrush="{Binding ElementName=ctrl, Path=FillBrush}"
                 Edge="{Binding ElementName=ctrl, Path=Edge}"
                 />
    </StackPanel>
</UserControl>
